﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B09 RID: 2825
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MemberData : IMessage<MemberData>, IMessage, IEquatable<MemberData>, IDeepCloneable<MemberData>, IBufferMessage
	{
		// Token: 0x170023B0 RID: 9136
		// (get) Token: 0x06007E86 RID: 32390 RVA: 0x001519F7 File Offset: 0x0014FBF7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MemberData> Parser
		{
			get
			{
				return MemberData._parser;
			}
		}

		// Token: 0x170023B1 RID: 9137
		// (get) Token: 0x06007E87 RID: 32391 RVA: 0x001519FE File Offset: 0x0014FBFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MemberDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170023B2 RID: 9138
		// (get) Token: 0x06007E88 RID: 32392 RVA: 0x00151A10 File Offset: 0x0014FC10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MemberData.Descriptor;
			}
		}

		// Token: 0x06007E89 RID: 32393 RVA: 0x00151A17 File Offset: 0x0014FC17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MemberData()
		{
		}

		// Token: 0x06007E8A RID: 32394 RVA: 0x00151A40 File Offset: 0x0014FC40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MemberData(MemberData other) : this()
		{
			this.uid_ = other.uid_;
			this.level_ = other.level_;
			this.nickname_ = other.nickname_;
			this.pDFLEIJNPEB_ = other.pDFLEIJNPEB_;
			this.platform_ = other.platform_;
			this.pOOJFEBMGKF_ = other.pOOJFEBMGKF_;
			this.mIHKADCOCFM_ = other.mIHKADCOCFM_;
			this.version_ = other.version_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007E8B RID: 32395 RVA: 0x00151AC4 File Offset: 0x0014FCC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MemberData Clone()
		{
			return new MemberData(this);
		}

		// Token: 0x170023B3 RID: 9139
		// (get) Token: 0x06007E8C RID: 32396 RVA: 0x00151ACC File Offset: 0x0014FCCC
		// (set) Token: 0x06007E8D RID: 32397 RVA: 0x00151AD4 File Offset: 0x0014FCD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x170023B4 RID: 9140
		// (get) Token: 0x06007E8E RID: 32398 RVA: 0x00151ADD File Offset: 0x0014FCDD
		// (set) Token: 0x06007E8F RID: 32399 RVA: 0x00151AE5 File Offset: 0x0014FCE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x170023B5 RID: 9141
		// (get) Token: 0x06007E90 RID: 32400 RVA: 0x00151AEE File Offset: 0x0014FCEE
		// (set) Token: 0x06007E91 RID: 32401 RVA: 0x00151AF6 File Offset: 0x0014FCF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string Nickname
		{
			get
			{
				return this.nickname_;
			}
			set
			{
				this.nickname_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170023B6 RID: 9142
		// (get) Token: 0x06007E92 RID: 32402 RVA: 0x00151B09 File Offset: 0x0014FD09
		// (set) Token: 0x06007E93 RID: 32403 RVA: 0x00151B11 File Offset: 0x0014FD11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PDFLEIJNPEB
		{
			get
			{
				return this.pDFLEIJNPEB_;
			}
			set
			{
				this.pDFLEIJNPEB_ = value;
			}
		}

		// Token: 0x170023B7 RID: 9143
		// (get) Token: 0x06007E94 RID: 32404 RVA: 0x00151B1A File Offset: 0x0014FD1A
		// (set) Token: 0x06007E95 RID: 32405 RVA: 0x00151B22 File Offset: 0x0014FD22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlatformType Platform
		{
			get
			{
				return this.platform_;
			}
			set
			{
				this.platform_ = value;
			}
		}

		// Token: 0x170023B8 RID: 9144
		// (get) Token: 0x06007E96 RID: 32406 RVA: 0x00151B2B File Offset: 0x0014FD2B
		// (set) Token: 0x06007E97 RID: 32407 RVA: 0x00151B33 File Offset: 0x0014FD33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string POOJFEBMGKF
		{
			get
			{
				return this.pOOJFEBMGKF_;
			}
			set
			{
				this.pOOJFEBMGKF_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170023B9 RID: 9145
		// (get) Token: 0x06007E98 RID: 32408 RVA: 0x00151B46 File Offset: 0x0014FD46
		// (set) Token: 0x06007E99 RID: 32409 RVA: 0x00151B4E File Offset: 0x0014FD4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string MIHKADCOCFM
		{
			get
			{
				return this.mIHKADCOCFM_;
			}
			set
			{
				this.mIHKADCOCFM_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170023BA RID: 9146
		// (get) Token: 0x06007E9A RID: 32410 RVA: 0x00151B61 File Offset: 0x0014FD61
		// (set) Token: 0x06007E9B RID: 32411 RVA: 0x00151B69 File Offset: 0x0014FD69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong Version
		{
			get
			{
				return this.version_;
			}
			set
			{
				this.version_ = value;
			}
		}

		// Token: 0x06007E9C RID: 32412 RVA: 0x00151B72 File Offset: 0x0014FD72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MemberData);
		}

		// Token: 0x06007E9D RID: 32413 RVA: 0x00151B80 File Offset: 0x0014FD80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MemberData other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && this.Level == other.Level && !(this.Nickname != other.Nickname) && this.PDFLEIJNPEB == other.PDFLEIJNPEB && this.Platform == other.Platform && !(this.POOJFEBMGKF != other.POOJFEBMGKF) && !(this.MIHKADCOCFM != other.MIHKADCOCFM) && this.Version == other.Version && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007E9E RID: 32414 RVA: 0x00151C38 File Offset: 0x0014FE38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this.Nickname.Length != 0)
			{
				num ^= this.Nickname.GetHashCode();
			}
			if (this.PDFLEIJNPEB != 0U)
			{
				num ^= this.PDFLEIJNPEB.GetHashCode();
			}
			if (this.Platform != PlatformType.Editor)
			{
				num ^= this.Platform.GetHashCode();
			}
			if (this.POOJFEBMGKF.Length != 0)
			{
				num ^= this.POOJFEBMGKF.GetHashCode();
			}
			if (this.MIHKADCOCFM.Length != 0)
			{
				num ^= this.MIHKADCOCFM.GetHashCode();
			}
			if (this.Version != 0UL)
			{
				num ^= this.Version.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007E9F RID: 32415 RVA: 0x00151D32 File Offset: 0x0014FF32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007EA0 RID: 32416 RVA: 0x00151D3A File Offset: 0x0014FF3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007EA1 RID: 32417 RVA: 0x00151D44 File Offset: 0x0014FF44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Uid);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Level);
			}
			if (this.Nickname.Length != 0)
			{
				output.WriteRawTag(26);
				output.WriteString(this.Nickname);
			}
			if (this.PDFLEIJNPEB != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.PDFLEIJNPEB);
			}
			if (this.Platform != PlatformType.Editor)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.Platform);
			}
			if (this.POOJFEBMGKF.Length != 0)
			{
				output.WriteRawTag(50);
				output.WriteString(this.POOJFEBMGKF);
			}
			if (this.MIHKADCOCFM.Length != 0)
			{
				output.WriteRawTag(58);
				output.WriteString(this.MIHKADCOCFM);
			}
			if (this.Version != 0UL)
			{
				output.WriteRawTag(64);
				output.WriteUInt64(this.Version);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007EA2 RID: 32418 RVA: 0x00151E54 File Offset: 0x00150054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this.Nickname.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.Nickname);
			}
			if (this.PDFLEIJNPEB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PDFLEIJNPEB);
			}
			if (this.Platform != PlatformType.Editor)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Platform);
			}
			if (this.POOJFEBMGKF.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.POOJFEBMGKF);
			}
			if (this.MIHKADCOCFM.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.MIHKADCOCFM);
			}
			if (this.Version != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.Version);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007EA3 RID: 32419 RVA: 0x00151F4C File Offset: 0x0015014C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MemberData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			if (other.Nickname.Length != 0)
			{
				this.Nickname = other.Nickname;
			}
			if (other.PDFLEIJNPEB != 0U)
			{
				this.PDFLEIJNPEB = other.PDFLEIJNPEB;
			}
			if (other.Platform != PlatformType.Editor)
			{
				this.Platform = other.Platform;
			}
			if (other.POOJFEBMGKF.Length != 0)
			{
				this.POOJFEBMGKF = other.POOJFEBMGKF;
			}
			if (other.MIHKADCOCFM.Length != 0)
			{
				this.MIHKADCOCFM = other.MIHKADCOCFM;
			}
			if (other.Version != 0UL)
			{
				this.Version = other.Version;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007EA4 RID: 32420 RVA: 0x00152023 File Offset: 0x00150223
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007EA5 RID: 32421 RVA: 0x0015202C File Offset: 0x0015022C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num <= 16U)
					{
						if (num == 8U)
						{
							this.Uid = input.ReadUInt32();
							continue;
						}
						if (num == 16U)
						{
							this.Level = input.ReadUInt32();
							continue;
						}
					}
					else
					{
						if (num == 26U)
						{
							this.Nickname = input.ReadString();
							continue;
						}
						if (num == 32U)
						{
							this.PDFLEIJNPEB = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 50U)
				{
					if (num == 40U)
					{
						this.Platform = (PlatformType)input.ReadEnum();
						continue;
					}
					if (num == 50U)
					{
						this.POOJFEBMGKF = input.ReadString();
						continue;
					}
				}
				else
				{
					if (num == 58U)
					{
						this.MIHKADCOCFM = input.ReadString();
						continue;
					}
					if (num == 64U)
					{
						this.Version = input.ReadUInt64();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003059 RID: 12377
		private static readonly MessageParser<MemberData> _parser = new MessageParser<MemberData>(() => new MemberData());

		// Token: 0x0400305A RID: 12378
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400305B RID: 12379
		public const int UidFieldNumber = 1;

		// Token: 0x0400305C RID: 12380
		private uint uid_;

		// Token: 0x0400305D RID: 12381
		public const int LevelFieldNumber = 2;

		// Token: 0x0400305E RID: 12382
		private uint level_;

		// Token: 0x0400305F RID: 12383
		public const int NicknameFieldNumber = 3;

		// Token: 0x04003060 RID: 12384
		private string nickname_ = "";

		// Token: 0x04003061 RID: 12385
		public const int PDFLEIJNPEBFieldNumber = 4;

		// Token: 0x04003062 RID: 12386
		private uint pDFLEIJNPEB_;

		// Token: 0x04003063 RID: 12387
		public const int PlatformFieldNumber = 5;

		// Token: 0x04003064 RID: 12388
		private PlatformType platform_;

		// Token: 0x04003065 RID: 12389
		public const int POOJFEBMGKFFieldNumber = 6;

		// Token: 0x04003066 RID: 12390
		private string pOOJFEBMGKF_ = "";

		// Token: 0x04003067 RID: 12391
		public const int MIHKADCOCFMFieldNumber = 7;

		// Token: 0x04003068 RID: 12392
		private string mIHKADCOCFM_ = "";

		// Token: 0x04003069 RID: 12393
		public const int VersionFieldNumber = 8;

		// Token: 0x0400306A RID: 12394
		private ulong version_;
	}
}
